<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="one">
        hello one
    </div>

    <div id="two">
        hello two
    </div>

    <ul>
        <li>AAA</li>
        <li>BBB</li>
        <li>CCC</li>
        <li>DDD</li>
        <li>EEE</li>
    </ul>
    <script>
        let obj = document.querySelectorAll('ul li');
        console.log(obj);

        // //querySelector参数，就是一个CSS的选择器
        // let obj = document.querySelector(".one");
        // console.log(obj);

        // let obj = document.querySelector('#two');
        // console.log(obj);
    </script>
</body>
</html>